package day1031.demo03;

/**
 * @program: qy158
 * @description:
 * @author: 闫克起2
 * @create: 2022-10-31 10:31
 **/
public class TestTicket {
    public static void main(String[] args) {
        MyTicket task1=new MyTicket();
        Thread t1=new Thread(task1,"窗口A");
        Thread t2=new Thread(task1,"窗口B");
        Thread t3=new Thread(task1,"窗口C");
        Thread t4=new Thread(task1,"窗口D");

        t1.start();
        t2.start();
        t3.start();
        t4.start();
    }
}
